package com.example.demo.unique.annotation;

import com.example.demo.unique.enums.UniqueWay;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @version 1.0
 * @Author: LJP
 * @Description:    字段唯一检验开关标识
 * @Date: Created in 11:58 2022/3/9
 */
@Target(value = {ElementType.METHOD,ElementType.ANNOTATION_TYPE})
@Retention(value = RetentionPolicy.RUNTIME)
public @interface UniqueFlag {

    UniqueWay value();
}
